/*
 * @Author: 袁三金
 * @Date: 2023-10-13 10:52:07
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-10-14 20:34:09
 * @Description: 请填写简介
 */
// 定义接口返回数据ts类型
export interface ResponseData {
  code: number
  message: string
  ok: true
}
// 已有的品牌的数据ts类型
export interface TradeObjectData {
  id?: number
  tmName: string
  logoUrl: string
}
// 包含全部品牌的数组数据ts类型
export type Records = TradeObjectData[]
// 获取的已有全部品牌的数据ts类型
export interface TradeData extends ResponseData {
  data: {
    records: Records
    total: number
    size: number
    current: number
    orders: []
    optimizeCountSql: boolean
    hitCount: boolean
    countId: null
    maxLimit: null
    searchCount: boolean
    pages: number
  }
}
